package sky.springboot.springbootjpa.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import sky.springboot.springbootjpa.bean.Role;
import sky.springboot.springbootjpa.dao.RoleRepository;
import sky.springboot.springbootjpa.service.RoleService;

@Service
public class RoleServiceImpl implements RoleService{

    @Autowired
    private RoleRepository repository;

    @Override
    public void save(Role role) {
        repository.save(role);
    }
}
